<div  class="text-center">
    <button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#exampleModal">导入课程信息</button>
</div>
<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel">课程信息导入</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <div class="form-group row">
                    <label for="termStartTime" class="col-form-label col-sm-3">开学时间:</label>
                    <input type="text" class="form-control col-sm-8" id="termStartTime" required readonly>
                </div>
                <div class="file-loading">
                    <input id="file" name="file" type="file" class="file" data-show-preview="false"  data-min-file-count="1" multiple>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary"  id="timetableDialogClose" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>


<script src="../../js/timetables/list.js" th:src="@{/js/timetables/list.js}"></script>
